-- GENERATED SPELL FOR [Arcane Devourer] --


function spell0_16304(pUnit, Event) --@Devour Mana,n/a--
pUnit:FullCastSpellOnTarget(29054,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16304', 2000, 1)
end

function Sorts_16304(pUnit, Event)
local choix_sorts_16304 = math.random(0, 0)
if choix_sorts_16304 == 0 then
pUnit:RegisterEvent('spell0_16304', 1, 1)
end
end

function mob16304_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16304', math.random(1500, 3000), 1)
end

function mob16304_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16304_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16304_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16304, 1, 'mob16304_Action')
RegisterUnitEvent(16304, 2, 'mob16304_Leave')
RegisterUnitEvent(16304, 3, 'mob16304_Kill')
RegisterUnitEvent(16304, 4, 'mob16304_Die')
